<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>像素鸟小游戏</title>
    <link rel="stylesheet" href="./css/index.css" />
  </head>
  <body>
    <div class="game">
      <div class="sky"></div>
      <div class="land"></div>
      <div class="bird swing1"></div>
      <div class="mask">
        <div class="dialog">
          请按Enter重新开始游戏
        </div>
      </div>
    </div>
    <p class="info">回车键开始/暂停，空格键跳跃</p>
  </body>

  <script type="text/javascript" src="./js/BaseRectangle.js"></script>
  <script type="text/javascript" src="./js/Sky.js"></script>
  <script type="text/javascript" src="./js/Land.js"></script>
  <script type="text/javascript" src="./js/Bird.js"></script>
  <script type="text/javascript" src="./js/Pipe.js"></script>
  <script type="text/javascript" src="./js/Game.js"></script>

  <script type="text/javascript" >
   const game = new Game();
   game.regEvent();
  </script>
</html>
